home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 30 / Mac Magazin and MacEasy Magazine CD - Issue 30.iso / utilities / Mac OS / print66 / Print66 FAQ < prev    next >
Text File  |  2000-11-23  |  8KB  |  88 lines

  1. 1 Features
  2. 1.1 Can I use Print66 to print via TCP/IP to a network client ?
  3.  
  4. No. I have to remind you that Print66 is a print server not a print client... Print 66 can be used to print from a remote client to a printer attached to the Macintosh, not the reverse.
  5.  
  6. To print via TCP/IP from a Mac, the only free print client on the Mac that I know is Apple's Laserwriter 8.5.1 which can handle Postscript printer (see Print66 homepage at the section "What to do on another Macintosh to set it up as a client").
  7.  
  8. Some printers accept an Ethernet option (for instance, HP has drivers for some of its printers connected to a HP Jetdirect external print server <http://www.hp.com/cposupport/printers/support_doc/bpm06292.html>), but it is not always clear whether the support is through Appletalk or TCP/IP.
  9.  
  10. 1.2 What have I to do if my Mac has a dynamic IP address ?
  11.  
  12. TCP/IP implies addressing to a machine using a TCP/IP numerical address. If your Mac uses DHCP or PPP to get its TCP/IP parameters, its TCP/IP address may change from day to day, and remote hosts would have difficulties knowing to which IP address they have to send their print data. Domain Name Servers (DNS) are supposed to make this issue easier to solve, because one of their purpose is to return an IP number given a machine name. Unfortunately, there are very few implementations which enable a DNS to dynamically update its information when a host gets a dynamic address on a network... (the only one that I know is Vicomsoft Internet Gateway, and BIND and DHCPD developpers have a similar project in progress).
  13.  
  14. So my advice is to get a fixed IP address for the Mac running Print66 (either by a manual TCP/IP or PPP setting on the Mac or by specifying a MAC hardware address in your DHCP server setup) and register it in your DNS if you have one, so that remote hosts willing to print are sure to get the right IP number.
  15.  
  16. A similar problem applies to hosts you allow to print on your printers... You have to give fixed IP addresses or host names known by your DNS in the config file...
  17.  
  18. If you are to print to many Macintoshes using USB printers, it is possible to make things a little easier by having only one copy of Print66 running on a Mac with a fixed IP address, and use Apple's USB Printer sharing for the rest of your network who can then use dynamic addresses.
  19.  
  20. This means a setup like this :
  21.  
  22. Remote host --> Mac running Print66 and USB Printer sharing as a client --> Mac running USB Printer sharing as a server --> USB Printer
  23.  
  24. The additional advantages are :
  25. - ease of implementation : only one copy of Print66 to deploy, to configure and to baby-sit :-)
  26. - the remote hosts need only to know the IP address of the Mac running Print66
  27.  
  28. The inconvenients :
  29. - USB Printer sharing is only supported for USB Printers and Macintoshes running MacOS 9
  30. - this technology is not a standard, so what may happen in the future ?
  31.  
  32. 1.3 Can I use it to generate PDF files ?
  33.  
  34. This is a feature often asked for... People would like to "print" from a foreign host to a Mac running Print66, but would like to get an Adobe Acrobat PDF file instead of sending data to a real printer.
  35.  
  36. Basically, this means that the data have to be sent to Acrobat Distiller or Ghostscript.
  37.  
  38. I think this could be done on a future version. Acrobat Distiller can be configured to watch a folder for files to be converted. One could imagine an option inside Print66 to send the data to a folder... If someone can help, feel free to contact me.
  39.  
  40. With the current version, I suggest :
  41. - put a NOACTION line in the config, to make Print66 not print but just store the files it receives,
  42. - print as you like to a Print66 queue from your remote host(s),
  43. - inside the Spool Folder, select the files whose names begin with "dfA" (without quotes) and bring them to a folder watched by Acrobat Distiller or to your Ghostscript application,
  44. - trash the files whose names begin with "cfA" (these are control files).
  45.  
  46. I think this can be even automated with AppleScript...
  47.  
  48. 2 Troubleshooting with some printers
  49. 2.1 How do I get the right settings for a serial printer ?
  50.  
  51. One important thing to understand is that Print66 basic job is catching print data addressed via the network, and redirect it to the serial port... There is no sophisticated management done by the application : all the formatting is performed by the remote host which must have an adequate driver.
  52.  
  53. This explains why in your setup, you just need to provide Print66 with the adequate informations on how to "speak" to the serial port : baud speed, bit number, parity, etc... If you don't find the information in your printer's documentation, the best solution is to test with a terminal emulation software like Communicate Lite, Zterm, BlackNight or even ClarisWorks/AppleWorks. 
  54.  
  55. 1/ switch off, then on, your printer
  56. 2/ in the terminal emulation software, set the communication to 57600 bps, 8 bit data, no parity, 1 stop bit, no handshake... If your emulation software options permit it, choose Local echo (to see what you type), and Send linefeeds (for the Enter key to send Carriage Return plus Line Feed as in the PC world, opposed to just CR in the Mac world...)...
  57. 3/ open the connection, type any text you like at your keyboard, and finish by sending a form feed (FF), because some page printers (like laser printers) require this code to recognize the end of instructions related to the page to print.
  58.  
  59. (CR = carriage return = Ascii code 13 = Control-M on most terminal emulation software
  60. LF = line feed = Ascii code 10 = Control-J
  61. FF = form feed = Ascii code 12 = Control-L)
  62.  
  63. If nothing prints at all (or if what prints does not fit what you typed), change the speed... If this still does not work, try 7 bit data, parity even, 1 stop bit, no handshake... If you find a working combination, configure Print66 with it.
  64.  
  65. You will probably get truncated print jobs. Try adding CTS or XON/XOFF handshake. CTS is most often used, but with the PowerPrint serial to parallel cable, the adequate setting is XON/XOFF (57600/8/N/1).
  66.  
  67. 2.2 Why can't I make it work with my Apple printer ?
  68.  
  69. Unfortunately, some earlier Apple printers are an illustration of the need for Cupertino at those times to reinvent the wheel... Rather than simply put an Apple logo on a standard printer, Apple chose to make specific printers which seem only able to speak QuickDraw, which has been largely ignored by the rest of the hardware world... The StyleWriter, StyleWriter Pro, StyleWriter 2200, 2400, 2500, and the LaserWriter 300/LS, even if they are all based on Canon hardware, "speak" a so specific protocol that I doubt you will ever get a PC or Linux box able to print to it... 
  70.  
  71. The following other ones could be managed by their PC-equivalent drivers (I haven't tried this, but have found the info on Ghostscript documentation and various other sources) :
  72. - ImageWriter : C-Itoh M8510
  73. - StyleWriter 4100 : HP DeskWriter 660 C
  74. - StyleWriter 4500 : HP DeskWriter 690 C
  75. - StyleWriter 6500 : HP DeskWriter 870 Cxi (Epson LQ might work too...)
  76.  
  77. 2.3 Why can't I print using USB ?
  78.  
  79. Try to print a page first from a normal Mac application. On some models of Macintosh, after a cold start, it seems that you have to print something using the printer manufacturer's driver before Print66 and other applications addressing directly the USB port achieve to send data. It seems to be a hardware issue, as there is no problem after a warm reboot. If someone is able to give me a clue, it would be welcomed...
  80.  
  81. 2.4 Why do I have Postscript errors ?
  82.  
  83. There are some well known issues with binary Postscript with Apple's PAP protocol. I suggest sending Postscript data from the remote host as ASCII rather than binary (this can be configured on the print dialog for Apple Laserwriter driver, and I think a similar setup exists on PC).
  84.  
  85. Similarly, it is safer sending Postscript Level 1 compatible data, and enabling NOACNT (no accounting) in the config file.
  86.  
  87.  
  88.